![]() |
pixPurge |
Header: QDOffscreen.h |
enum { pixPurge = 1, noNewDevice = 2, useTempMem = 4, keepLocal = 8, useDistantHdwrMem = 16, useLocalHdwrMem = 32, pixelsPurgeable = 64, pixelsLocked = 128, kAllocDirectDrawSurface = 16384, mapPix = 65536, newDepth = 131072, alignPix = 262144, newRowBytes = 524288, reallocPix = 1048576, clipPix = 268435456, stretchPix = 536870912, ditherPix = 1073741824, gwFlagErr = -2147483648 };
If you specify this flag for the flags parameter of the NewGWorld function,
If you specify this flag for the flags parameter of the
If you specify this in the flags parameter of the AllowPurgePixels
function so that other applications can launch.
If you specify this in the flags parameter of the
If you specify this in the flags parameter of UpdateGWorld
, UpdateGWorld keeps the offscreen pixel image in Macintosh main memory.
If you specify this in the state parameter of the GetPixelsState
function returns this flag, then the base address for an offscreen pixel is purgeable.
If you specify this flag for the state parameter of the SetPixelsState function, SetPixelsState locks the base address for an offscreen pixel image. If you use the SetPixelsState function without passing it this flag, then SetPixelsState unlocks the offscreen pixel image. If the GetPixelsState function returns this flag, then the base address for an offscreen pixel is locked.
If the
If the UpdateGWorld function returns this flag, then it translated the offscreen pixel map to a different pixel depth.
If the UpdateGWorld function returns this flag, then it realigned the offscreen pixel image to an onscreen window.
If the UpdateGWorld function returns this flag, then it changed the rowBytes field of the PixMap structure for the offscreen graphics world.
If the UpdateGWorld function returns this flag, then it reallocated the base address for the offscreen pixel image. Your application should then reconstruct the pixel image or draw directly in a window instead of preparing the image in an offscreen graphics world.
If you specify this flag in the flags parameter of the
If you specify this flag in the flags parameter of the
If you specify this flag in the flags parameter of the
If the UpdateGWorld function returns this flag, then it was unsuccessful and the offscreen graphics world was left unchanged.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)